<?php
namespace User\Controller;
//个人中心

use Common\Controller\MemberbaseController;
use Common\ModelSQ\CommMSQ;

class InformationController extends MemberbaseController {

    public function _initialize() {
        parent::_initialize();
    }

    //首页
    public function index(){
        $user = cookie('user_name');
        $msq = new CommMSQ();
        $data = $msq->getUserInformation($user);
        $this->assign('data',$data);
        $this->assign('user',$user);
        $this->display();
    }

    //我的订单
    public function orderfinish(){
        $this->display();
    }
}


